<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="SAP HANA由于内存不足，导致备份或恢复任务失败">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="SAP_HANA_0100.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="SAP_HANA_0108">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>SAP HANA由于内存不足，导致备份或恢复任务失败</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="SAP_HANA_0108"></a><a name="SAP_HANA_0108"></a>

<h1 class="topictitle1">SAP HANA由于内存不足，导致备份或恢复任务失败</h1>
<div><div class="section"><h4 class="sectiontitle">现象描述</h4><p>备份/恢复任务失败，查看“<em>SAP HANA安装目录</em>/trace”目录下有任务时间点的oom日志文件，如果存在该日志文件表示内存发生溢出。</p>
<p>日志文件名参考如下：</p>
<p>preprocessor_hana1.30002.rtedump.20240117-021229.018590.oom.trc</p>
</div>
<div class="section"><h4 class="sectiontitle">可能原因</h4><p>备份/恢复时，由于生产环境发生内存溢出，操作失败。</p>
</div>
<div class="section"><h4 class="sectiontitle">处理步骤</h4><p>确保安装hana生产环境后，生产环境剩余内存大于10GB。</p>
<p>生产环境剩余内存查看方式如下：</p>
<ol><li><span>使用PuTTY，登录数据库主机。</span></li><li><span>执行以下命令查看生产环境剩余内存。</span><p><pre class="screen">free -h</pre>
<p>其回显如下所示，生产环境剩余内存为11G。</p>
<p><span><img src="zh-cn_image_0000002200155085.png"></span></p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="SAP_HANA_0100.html">常见问题</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>